<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>创建参考作品 - {$config_sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link href="{$config_siteurl}static/js/artDialog/skins/default.css" rel="stylesheet" />
    <link rel="stylesheet" href="__CSS__/yf.css" />
    <link rel="stylesheet" type="text/css" href="__COMMJS__/yf_file/plupload/common.css" />
    <script type="text/javascript">
        //全局变量
        var GV = {
            siteUrl: "__ROOT__/",
            JS_ROOT: "__COMMJS__/"
        };
    </script>
    <script src="__COMMJS__/wind.js"></script>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
    <Admintemplate file="Home/Public/header"/>
    <div class="b-login">
        <div class="b-body l-center" style="padding-top:30px;">
            <div class="b-login__top">
                <a href="javascript:;" class="b-login__tab act">创建我的参考作品</a>
            </div>
            <div class="bake_body">
                <form name="form1" class="ajaxForm" action="__WEBURL__/user/bake/copyadd" method="post" enctype="multipart/form-data">
                    <div class="create">
                        <ul>
                            <li><input type="text" class="create_input yf_create_ta" size="80" name="title" placeholder="点击添加作品名称" style="border-radius: 5px;" value="{$worktitle}"/></li>
                            <li class="yf_created_title" style="display:none;">作品主图(图片不能小于600*400px)</li>
                            <li class="mainpic yf-mainpic-add2">
                            	 <Form function="yf_image_copy" parameter="image,image,'',works"/>
                       		</li>
                            <li class="yf_created_desc">简介</li>
                            <li><textarea name="content" cols="30" rows="10" class="create_ta yf_create_ta" style="height: 163px;" placeholder="这个作品背后的故事~（必填）"></textarea></li>
                            <li><button class="create_btn Ajax_submit_btn" >发布作品</button></li>
                            <li></li>
                        </ul>
                    </div>
                    <input type="hidden" name="copyid" value="{$copyid}"/>
                </form>

            </div>
        </div>
    </div>

    <Admintemplate file="Home/Public/footer"/>

</div>
<div class="up-img">
            
</div>
<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js"></script>
<script src="__JS__/jquery.form.min.js"></script>
<script src="__JS__/jquery.doajax.js"></script>

<script src="__COMMJS__/common.js"></script>
<script src="__COMMJS__/yf_file/plupload/plupload.full.min.js"></script>
<script src="__COMMJS__/yf_file/yf-file.js"></script>
<script>
	$(function(){
	    $('.yf_insert_copy').click(function(){
	        var title = $(this).attr('data-title');
	        var url = $(this).attr('data-url');
	        yf_file_star($(this), title, url, 1);
	    });
	});
</script>

</body>
</html>